import { translate } from '@/utils/i18n'
export const formItems = [
  {
    filed: 'venueId',
    type: 'select',
    label: translate('venue'),
    labelCode: 'name',
    valueCode: 'id',
    options: []
  },
  {
    filed: 'courseName',
    type: 'input',
    label: translate('courseName')
  },
  {
    filed: 'selTime',
    type: 'daterange',
    clearable: false,
    label: translate('rq'),
    placeholder: translate('qxzsjd')
  },
  {
    filed: 'orderId',
    type: 'input',
    label: translate('orderNum')
  },
  {
    filed: 'memberInfo',
    placeholder: translate('hy3'),
    type: 'input',
    label: translate('memberInfo')
  },
  {
    filed: 'payMethod',
    type: 'select',
    label: translate('payMethod'),
    labelCode: 'name',
    options: []
  },
  {
    filed: 'courseType',
    type: 'select',
    label: translate('kclx'),
    options: [
      { value: '0', label: translate('spk') },
      { value: '1', label: translate('cgk') },
      { value: '4', label: translate('sjk') }
    ]
  },
  {
    filed: 'from',
    type: 'select',
    label: translate('orderSource'),
    labelCode: 'name',
    options: []
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
